import React from 'react'
import { View, TextInput } from 'react-native'
import { px2dp } from 'rn-xiaobu-utils';
import PhotoChoose from './PhotoChoose';

export default class CorrectionInput extends React.Component {
  render() {
    return (
      <View style={{ marginTop: px2dp(17), backgroundColor: '#FFFFFF', padding: px2dp(30) }}>
        <View style={{ minHeight: px2dp(244) }}>
          <TextInput multiline style={{ maxHeight: px2dp(244) }}
            maxLength={300}
            placeholder={'请您写下您遇到的问题，我们会尽快解决问题...'} onChangeText={(text) =>{ this.props.changeContent(text) }}
          />
        </View>
        <PhotoChoose></PhotoChoose>
      </View>
    )
  }
}